<template>
	<view style="width: 100%;height: 100vh" class="flex_column">
		<!-- 首页 -->
		<page-head></page-head>
		<view style="padding: 1vh 2vh;flex:1;">
			<view style=" height: 100%;" class="flex_col">
				<view class="flex_row_between rem04">
					<view>
						登录
					</view>
				</view>

				<view class="set-con " style="flex:1;">
					<view class="set-cont rem04" style="flex:1">
						<view style="text-align: center;">
							<image src="../../image/login-icon.png" style="width:20vh;" mode="widthFix"></image>
						</view>

						<view class="center_box">
							<view class="alignCenter" style="padding-top: 5vh;">
								<view class="input-con" style="width: 52vh;position: relative;">
									<view class="set-cont-title">名称</view>
									<input style="padding-left:2vh;" placeholder="账户名称" placeholder-style="color: #FFFFFF;opacity: 0.3;" />
								</view>
							</view>
							<view class="alignCenter" style="padding-top: 5vh;">
								<view class="input-con" style="width: 52vh; position: relative;">
									<view class="set-cont-title">密码</view>
									<input style="padding-left:1vh;" placeholder="您的密码" placeholder-style="color: #FFFFFF;opacity: 0.3;" />
								</view>
							</view>
						</view>
						<view class="allCenter" style="padding-top: 5vh;" @click="back_click">
							<view style="width: 21vh;">
								<button style="background: #646B97;" type="primary">
									<view>取消</view>
								</button>
							</view>
							<view style="width: 10vh;"></view>
							<view style="width: 21vh;">
								<button style="background: #44CE7B;">
									<view>登录</view>
								</button>
							</view>

						</view>
					</view>


				</view>

			</view>

		</view>

	</view>


</template>

<script>
	export default {
		data() {
			return {
				btnArr: ["YL-8系", "YL-6系", "YL-4系"],
				typeTxt: "",
				open: true,
			}
		},
		onShow: function() {
			this.typeTxt = this.btnArr[getApp().globalData.type];
			// console.log(getApp().globalData.type)
		},
		methods: {
			navigateTo(url) {
				uni.navigateTo({
					url: url
				})
			},
			back_click() {
				uni.navigateBack({
					delta: 1
				})
			}
		}
	}
</script>

<style>
	page {
		background: #1E2238;
	}

	.set-con {
		opacity: 0.98;
		background: #4A5079;
		border-radius: 0.3rem;
		margin-top: 5vh;
		display: flex;
		flex-direction: column;
		margin-bottom: 1rem;
	}

	.set-cont {
		background: #4A5079;
		border-radius: 3vh;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}

	.set-cont-title {
		/* padding-right: 0.3rem;
		width: 3rem;
		text-align: right; */
		position: absolute;
		left: -70px;
	}

	.input-con {
		background: #646B97;
		border-radius: 0.2rem;
		height: 8vh;
		display: flex;
		align-items: center;
		padding-left: 0.2rem;
	}

	.open-con {
		background: #000;
		border-radius: 0.2rem;
		height: 0.8rem;
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 0 0.1rem;
		padding-left: 0.4rem;
	}

	.open-btn {
		background: #646B97;
		border-radius: 0.2rem;
		height: 0.7rem;
		width: 2rem;
		flex: 1;
		justify-content: center;
		display: flex;
		align-items: center;
	}

	.dian {
		width: 0.1rem;
		height: 0.1rem;
		background: #fff;
		border-radius: 0.1rem;
		margin-right: 0.3rem;
	}

	.set-btn-con {
		padding: 5vh 3rem;
		display: flex;
		justify-content: center;
	}
</style>
